package com.sltx.dataobject.entity;
/**
 * 企业评价评价等级
 * @author Administrator
 *
 */
public class QypjHealth {
	
	private String AAA = "非常健康";
	
	private String AA = "健康";
	
	private String A = "健康";
	
	private String BBB = "比较健康";
	
	private String BB = "一般";
	
	private String B = "风险偏高";
	
	private String CCC = "风险偏高";
	
	private String CC = "风险高";
	
	private String C = "风险极高";
	
	private String health;
	
	private String ratings;

	public String getHealth() {
		return health;
	}

	public void setHealth(String health) {
		this.health = health;
	}

	public String getRatings() {
		return ratings;
	}

	public void setRatings(String ratings) {
		
		if(ratings.equals("AAA")){
			this.setHealth(AAA);
		}else if(ratings.equals("AA")){
			this.setHealth(AA);
		}else if(ratings.equals("A")){
			this.setHealth(A);
		}else if(ratings.equals("BBB")){
			this.setHealth(BBB);
		}else if(ratings.equals("BB")){
			this.setHealth(BB);
		}else if(ratings.equals("B")){
			this.setHealth(B);
		}else if(ratings.equals("CCC")){
			this.setHealth(CCC);
		}else if(ratings.equals("CC")){
			this.setHealth(CC);
		}else if(ratings.equals("C")){
			this.setHealth(C);
		}
		
		this.ratings = ratings;
	}
	
}
